/*主内容区样式*/
@import "vars";

@zIndex: @main-z-index;

.fa-main {
  position: absolute;
  left: 200px;
  top: 50px;
  right: 0px;
  bottom: 40px;
  color: black;
  z-index: @zIndex;
  .fa-tab {
    z-index: @zIndex+1;
    position: inherit;
    left: 0px;
    right: 0px;
    height: 40px;
    box-shadow: 0 1px 2px 0 rgba(0, 0, 0, 0.1);
    background-color: #fff;
    .fa-tab-prev,
    .fa-tab-next,
    .fa-tab-ctr-more,
    .fa-tab-ctr {
      position: inherit;
      height: 40px;
      width: 40px;
      line-height: 40px;
      text-align: center;
      cursor: pointer;
    }
    .fa-tab-prev {
      left: 0px;
      position: inherit;
      border-right: 1px solid #f6f6f6;
    }
    .fa-tab-next {
      right: 40px;
      top: 0px;
      border-left: 1px solid #f6f6f6;
    }
    .fa-tab-ctr {
      right: 0px;
      top: 0px;
      border-left: 1px solid #f6f6f6;
    }
    .fa-tab-ctr-more {
      display: none;
      overflow: hidden;
      white-space: nowrap;
      right: 0px;
      top: 40px;
      width: 100px;
      border: 1px solid #d2d2d2;
      height: 0px;
      box-shadow: 0 2px 4px rgba(0, 0, 0, 0.12);
      background-color: white;
      z-index: @zIndex;
    }
    .fa-tab-ctr-more > li:hover {
      background-color: #f6f6f6;
    }
    .fa-tab-ctr-more-on {
      height: 120px;
      display: block;
    }
    .fa-tab-item {
      text-align: center;
      flex-shrink: 0;
      padding-left: 0.5em;
      position: relative;
      height: 40px;
      line-height: 40px;
      list-style: none;
      display: inline-block;
      min-width: 50px;
      border-right: 1px solid #f6f6f6;
      margin: 0px;
      cursor: pointer;
      overflow: hidden;
    }
    .fa-tab-item:before {
      position: absolute;
      top: 0px;
      left: 0px;
      border: none;
      content: "";
      visibility: hidden;
      width: 0%;
      height: 2px;
      background-color: black;
    }
    .fa-tab-pan {
      overflow: hidden;
      height: 40px;
      left: 40px;
      position: inherit;
      right: 80px;
    }
    .fa-tab-pan ul {
      display: flex;
      flex-direction: row;
      flex-wrap: nowrap;
      position: relative;
      white-space: nowrap;
      left: 0px;
    }
    .fa-tab-prev:hover,
    .fa-tab-next:hover,
    .fa-tab-ctr:hover,
    .fa-tab-item.fa-selected,
    .fa-tab-item:hover {
      background-color: #f6f6f6;
    }
    .fa-tab-item.fa-selected:before,
    .fa-tab-item:hover:before {
      visibility: visible;
      width: 100%;
    }
    .fa-tab-item span {
      padding: 0px 0.5em;
    }
    .fa-tab-item i {
      margin-right: 0.5em;
    }
    .fa-tab-item i:hover {
      background-color: #dd4b39;
      color: white;
      border-radius: 20px;
    }
    .fa-tab-item.fa-tab-locked .layui-icon-close {
      display: none;
    }
  }
  .fa-content {
    z-index: @zIndex;
    left: 0px;
    right: 0px;
    bottom: 0px;
    margin-left: 0px;
    background-color: #f5f7f9;
    position: absolute;
    top: 40px;
  }
  .fa-content-item {
    width: 100%;
    height: 100%;
    padding: 0px;
    display: none;
    iframe {
      width: 100%;
      height: 100%;
      border: none;
      margin: 0px;
      padding: 0px;
      position: absolute;
    }
  }
}
